package com.yuyu.shop.domain.goods.DO;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author
 * @version 1.0
 * @description: 商品信息
 * @date 2022/8/3 8:54
 */
@Data
@Accessors(chain = true)
public class GoodsDO {

    private Long goodsId; //唯一Id

    private String goodsName; //商品名

    private BigDecimal originPrice; //商品原价

    private BigDecimal realPrice; //商品实价

    private String attribute; //具体参数 如256g内存 8g运行内存 双卡双待等

    private String specification; //具体什么规格 如 iPhone13 远峰蓝

    private Integer isOnSale; //是否上架 1.上架 2.下架
}
